﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DotNetExtensions.AspNet.DevExpress.MVVM.ViewModels
{
    public class FlyoutDocumentOption
    {
        public const int CloseAll = 1;
        public const int New = 0;
        public const int Reflesh = 2;


        public int Command { get; set; } = 0;
        public bool ClosePrevDocuments { get; set; } = false;

        public string View { get; set; }
        public string Id { get; set; }

        public FlyoutDocumentOption(string view, bool closePrevDocuments)
        {
            View = view;
            ClosePrevDocuments = closePrevDocuments;
        }
        public FlyoutDocumentOption(int command)
        {
            Command = command;
        }
    }
}
